package com.qfedu.service.intf;

import com.qfedu.dto.PetsAndUser;
import com.qfedu.entity.Pets;
import com.qfedu.vo.PageVo;
import com.qfedu.vo.R;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface PetsService {
    R add(Pets pets);

    R del(int id);

    R update(Pets pets);

    PageVo queryPage(int page, int limit, PetsAndUser petsAndUser);

    /**
     * 数据导出 下载数据*/
    void exportData(HttpServletResponse response) throws IOException;
}
